package com.fwixvye.pojo.rolePack;

import com.fwixvye.pojo.Role;

import java.util.LinkedHashMap;
import java.util.Set;

public class R241早柚 extends Role {

    @Override
    public LinkedHashMap<String, Double> singleRoleComputing() {
        LinkedHashMap<String, Double> aMap = new LinkedHashMap<>();
        aMap.put("一段伤害", 1.428);
        aMap.put("二段伤害", 1.414);
        aMap.put("三段伤害1", 0.859);
        aMap.put("三段伤害2", 0.859);
        aMap.put("四段伤害", 1.94);
        aMap.put("重击循环伤害", 1.236);
        aMap.put("重击终结伤害", 2.24);
        aMap.put("下坠期间伤害", 1.474);
        aMap.put("低空坠地冲击伤害", 2.94);
        aMap.put("高空坠地冲击伤害", 3.68);

        LinkedHashMap<String, Double> eMap = new LinkedHashMap<>();
        eMap.put("风风轮伤害", 0.648);
        eMap.put("风风轮舞踢点按伤害", 2.851);
        eMap.put("风风轮舞踢长按伤害", 3.917);
        eMap.put("风风轮附带元素伤害", 0.302);
        eMap.put("风风轮舞踢长按附带元素伤害", 1.371);

        LinkedHashMap<String, Double> qMap = new LinkedHashMap<>();
        qMap.put("技能发动伤害", 2.63);
        qMap.put("不倒貉貉伤害", 1.17);


        LinkedHashMap<String, Double> tMap = new LinkedHashMap<>();
        Set<String> aSet = aMap.keySet();
        for (String s : aSet) {
            double damage = damageCalculatorZF(aMap.get(s), 15, 15, 19, 0.1, 90, 90);
            tMap.put("A" + s, Double.parseDouble(String.format("%.1f", damage)));
        }
        Set<String> eSet = eMap.keySet();
        for (String s : eSet) {
            double damage = damageCalculatorZF(eMap.get(s), 10, 10, 19, 0.1, 90, 90);
            tMap.put("E" + s, Double.parseDouble(String.format("%.1f", damage)));
        }
        Set<String> qSet = qMap.keySet();
        for (String s : qSet) {
            double damage = damageCalculatorZF(qMap.get(s), 10, 10, 19, 0.1, 90, 90);
            tMap.put("Q" + s, Double.parseDouble(String.format("%.1f", damage)));
        }



        return tMap;
    }
}
